using System.Net;
using System;
using Microsoft.SPOT;

namespace Tswe.NETMF.Net
{
    public class DataReceivedEventArgs : EventArgs
    {
        public DataReceivedEventArgs()
            : base()
        {
        }

        public DataReceivedEventArgs(byte[] data, EndPoint remoteEndPoint)
            : base()
        {
            Data = data;
            RemoteEndPoint = remoteEndPoint;
        }

        public EndPoint RemoteEndPoint { get; set; }

        public byte[] Data { get; set; }
    }
}
